home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: Open database.mdb file, HOW ?
- Date: 25 Jan 1996 01:05:10 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4e6l06$8u2@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe3.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 24, 1996 10:25:35 in article <Open database.mdb file, HOW ?>, 'Peter
- Bohn <a94bohn@hobbe.adb.gu.se>' wrote:
-
-
- >Hello !!!
- >
- >How can I open a *.mdb file with C++-coding. Sitting here with
- >MS Vc++ 4.0, and I really don't know how. So please get me started with
- >some lines.
-
- You can always use the old stdio library function fopen -- but I
- don't think that's what you're after. I suspect that what you really
- want to is to open the database which resides in the file you
- mentioned. A entirely different matter.
-
- Do the Enroll tutorial furnished with the MSVC++ system and you'll
- have enough knowledge to start building your own database
- query/manipulation programs. MFC provides wrapper classes
- for ODBC as well as DAO (if you chose that option when you
- installed MSVC). Of primary interest are the CRecordset and
- CDaoRecordset classes. Create them with the class wizard.
-
- But first, do the tutorial.
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-